package com.qfmy.model.entity.novel;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/4/13
 * @description 评分实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class Rating {
    @Schema(description = "评分记录ID")
    private Integer ratingId;
    
    @Schema(description = "用户ID")
    private Integer userId;
    
    @Schema(description = "书ID")
    private Integer bookId;
    
    @Schema(description = "评分")
    private Double score;
    
    @Schema(description = "评分时间")
    private Date ratingTime;
}